﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using VisionCloud.Core.Model.Ms;
using VisionCloud.Domain.DtoModel.Ms;

namespace VisionCloud.Domain.Repository.Interface.Ms
{
    public interface IMsProjectStandardMeasureItemRepository : IBaseRepository<MsProjectStandardMeasureItem>
    {
        Task<List<MsProjectStandardMeasureItem>> GetList(MsProjectStandardMeasureItemCondition condition);

        Task<List<MsProjectStandardMeasureItem>> GetTemplateList();

        Task<List<MsProjectStandardMeasureItem>> GetDataByProjects(Guid[] rpoejctGuid);

        /// <summary>
        /// 根据项目阶段Id过滤
        /// </summary>
        /// <param name="rpoejctGuid">项目Id</param>
        /// <param name="excludeStandard">过滤项目阶段Id</param>
        /// <returns></returns>
        Task<List<MsProjectStandardMeasureItem>> GetDataByProjectsWithStandardId(Guid[] rpoejctGuid, Guid excludeStandard);
    }
}